Measures the specified text when drawn with the specified font.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public static Size MeasureText ( |
Visual Basic
![]() |
---|
Public Shared Function MeasureText( _ |
The string to measure.
A FontFamily instance specifying the font.
A double value specifying the font size.
A double value specifying the maximum width for the text.
A Size instance representing the text size.
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |